Scrutinizer config file
Merge pull request #385 from justinbrewer/scrutinizer-config

Scrutinizer-CI
tidy up a bunch of lint errors
Merge pull request #386 from shish/linting

A few fixes for things scrutinizer-ci found
use new-style constructors everywhere
Merge pull request #387 from shish/linting

Use new-style constructors everywhere
Merge pull request #388 from DakuTree/patch

Fixes issues 233 & 234.
make sure arrays are initilized before adding stuff
Scutinizer-CI Coding Style/Compensibility issue
use dot notation, === instead of == and [] instead of new Array()
more Scrutinizer-CI coding style stuff