7.x coder standards

Coding standards and some small fixes see the commit notes for more information.

The following pull request is required for these changes to work:
Islandora/islandora_importer/pull/9