Call errorMessage() to stop some controllers

api/load, pending, profile (also see comment on #13 on 27/sep/14
Added template for errorlog.html

Contents of errorlog.template.html are copied to errorlog.html if empty
Proper error reporting at search
Refactored profile, moved stuff to controller

Added constants at constroller
More logic in controller and less in view
Prompt log in to view questions
Fixed small bugs

At m\Question->writeOut() bug with operator precedence ( =, and)
At c\API@ask call errorMessage() if not AJAX