[BUGFIX] image sizes gets wrong model

- change lines / includes in the factory definition
[TASK] move image upload JS to separate file
[TASK] integrate layout
[TASK] update styles for image upload, buttons, layout, headlines
[TASK] update upload action, edit action, index action
[TASK] add Admin module to application.config
[TASK] add classmap to load Loginhelper
[TASK] add admin module for managing administrators and handling login/auth
[TASK] add login widget with link to login or to admin/index
[TASK] adjust nav for login widget
[TASK] only show upload link to administrators
[TASK] add auth check
[BUGFIX] don't pass empty identity to view
[BUGFIX] remove redundant autocomplete
[REFACTOR] remove unnecessary comment
[TASK] only show public images to normal visitor
[TASK] add logout action
[TASK] add logout link
[TASK] add edit icon style and image wrappers
[TASK] wrap large images so they don't break the layout