Update to Zend's coding style

I went through the project with CodeSniffer and fixed some of the easy places where it diverged from the Zend style guide.

> Indentation should consist of 4 spaces. Tabs are not allowed.

There is an issue with the indentation being 2 vs 4 spaces but I'm not sure it's worth addressing.