- Added Type to Environment table
- Updated environmental log store proc
Added enum for database mapping
Added environments to list of enums
Merge branch 'Database' of https://github.com/dkaynarc/tmc into scadaUI

Conflicts:
	src/cluster/Tmc/TmcData/TmcData.csproj
	src/cluster/Tmc/TmcData/TmcRepository.cs
- Added initialisation code to Enviromental
- Fixed Attributes to look at subitems