Fix minor Insight issues

- Remove editor specific .gitignore rules
- Some ending new lines
- Update composer
Fix docblock issues noticed by Scrutinizer
Remember to initialize array