Preliminary mob(ile) entity saving

+ Added saving of mob type
+ Partly added saving of mob metadata
Fixed mobsaving mixing references with pointers.
Fixed compiling on VS2013/12
Merge pull request #1 from tonibm19/mobsaving

Mobsaving