PWF update, models update

* Updated to new pwf with new model api
* Updated to new godmode with editor
* Fixed models for new api
Various fixes
Styles

* Fixed discussion styles
* Added class link-profile to user profile link
Intranet

* Fixed intranet functions for new pwf api
* Added my events
* Added global controls style
Team class

* Added attributes for attendance and booking
Auth code update

* Updated authcode
PWF update

* Updated pwf
Intra, team attendance

* Added attendance to team page
PWF API

* Fixed user requests for new pwf api
Intranet team head, attendance

* Added attendance to intranet team head
Intranet, event list styles

* Fixed versus sign
Intranet: Team menu, controls

* Synced team menu and common controls style
Intranet: Mine events list

* Switched icon to create
Intranet: Team attendance

* Added attendance on/off total switching
* Added new attendance perms
Attendance

* Added training detail
* Added training edit
* Fixed training creation
* Added some styles and translations