Add bool and time transformers

Conflicts:
	app/utils/entity_utils.rb
This is sql specific, not global way to convert ints to booleans. Better have it somewhere else, in the service that uses it, service util, or something like that.