Added serialization for plants.
It was kind of a nightmare because of the 2-dimensional arrays, but it
will probably be really nice to have deformable plants in the future.
Also wrote some handy functions to pack an integer into a char array.
Merge branch 'master' of https://github.com/schiem/roguelike