Add travis support fix some small coding standards issues.
Refactored copy paste code to appease travis.
Fixed coder warning.
Merge pull request #1 from nigelgbanks/7.x-travis-support

Add travis support fix some small coding standards issues.
Merge branch '7.x' of github.com:nigelgbanks/islandora_critical_edition_advanced into 7.x