Cleaned up code to be compliant with code standards and corrected file permission issues
Coder/Code Sniffer Standard Compliance.
Merge pull request #1 from nigelgbanks/7.x-code-review

Coder/Code Sniffer Standard Compliance.
Merge branch '7.x' into 7.x-code-review

Conflicts:
	includes/utilities.inc
Merge pull request #2 from nigelgbanks/7.x-code-review

7.x code review
Merge pull request #16 from MorganDawe/7.x

Cleaned up code to be compliant with code standards/file permissions.