Added Python bindings for type() and setType(str) on MapObject.
Python plugin cleanups

Mostly about coding style.
Fixed Map::clone to also clone background color and layer data format