Fix some file permissions and unusued statements + add SensioLabsInsight medal

Fix medal URL