Only whitespace removal
Adjusted advanced app migration so it is now OK for non-mysql

Conflicts:

	console/migrations/m130524_201442_init.php
Fixes #1342: added missing layout for mail in advanced app template
Updated advanced application mail layout to contain layout markers
Code style fixes for layouts
Fixes #1342
Fixed phpdoc
Used full method names when sending email in advanced app

Conflicts:

	frontend/controllers/SiteController.php
For tbl_user use real timestamps instead of unix time saved as int