Added error handling

Exeptions are shown as "Go home Ipsum you're drunk"
The title attribute contains the error message
Merge branch 'core'
Updated to 0.5
Merge remote-tracking branch 'origin/master' into foundation-extension