Travis: added phploc
Travis: added phpcpd
Small refactoring of Grid helpers
Small refactoring of Grid helpers
Travis: disabled phpcpd, enabled pdepend
Trevis: added phpcs
Trevis: added phpmd