Basic code for function to return names all environments from the database, and to retrieve details of an environment by its name. Some code refactoring, added a mapper class to map database cursors to applogic objects.
Completed Mappers of all environment variable types, used that to get complete details of an environment by name. Code refactoring done according to the new database mapper.
Added 2 additional fields in environment table: is_environment_enabled, and environment_hint. Updated environment insertion to populate these as well.
Merge branch 'aravind'