fix suggessions from sensiolabs insight

Connected to the #254  ticket, fix some of the suggested sensiolabsinsight errors
this should not matter. and i think we generally do have newline at the end of files so imho having it here too is fine.