Added preliminary support for tileset spacing and margin.
NB! Still need to go through entire class to check for all functions.