Fix some file permissions and unusued statements + add SensioLabsInsight medal