added configuration file

*fixed a bug in level gen ( Level generation assertion failure #2 )
*added config file
*added a parameter to allow sparse enum<-> string maps
*added get for renderer scale and translation
*changed font rendering to be independant of renderer scale and
translation
*added common json parsing functions (incomplete)
*eliminated some dead code