Added type aware setters, added missing function

 * Added "nbt_set_<type>()" that'll return 1 on failure and 0 on success
 * Added missing "nbt_cast_string()"
 * Made "nbt_change_value()" secure
 * Some source code cleanup
3 files changed