Hostmanager resources

closes #202
closes #183

Main changes:
* User entities
  * Created user entity and changed owner fields to be references
  * Login automatically creates user entities if needed
* Moved vmid and port resource configuration to config file
* Template and network resources have owners
  * Changed all logic that handles resources to consider ownership
  * Changed template storage to use template checksums instead of names
* Removed all logic considering admin users

This is basically tested but should still be reviewed