Massive style refactor
More code style changes
Added grunt support for tests and phpcs