Added a function to handle a log an error.

This gives the possibility to log an error everywhere in the application
Log only the key's that aren't empty
Added the possibility to add wild cards and their appropiate params to translations.

This adds new possibilities and easier handling of translations with some application/request vars.
Added a new error case for not sufficient permissions
Changed the way errors are displayed by throwing a new error of type "permissionInsufficient".
Changed a hard link by a variable one
Added the group and role name as translation params to the translation
Added a new reload type for the application.error struct components
Merge pull request #60 from IcedReaper/Issue_#52

Issue #52