Better exception handling with erb syntax errors
Fixed offence
Added changelog entry
version bump to 0.3.1