fix suggessions from sensiolabs insight

Connected to the #254  ticket, fix some of the suggested sensiolabsinsight errors
-1 on this one.

i set this warning to ignore in the insight report. we should keep it the thing that pops up as warning, as people might build their own application starting from this and then should get the alert.