Template is not guaranteed to be NULL when not specified, it may also be an
empty string.

Check for that case as well since we can't interpret it as valid XML in such a
case.
Use object from factory instead of form state
Merge pull request #110 from nigelgbanks/7.x-fix-whitescreen-of-death

Fix white screen of death.
Merge pull request #112 from Islandora/7.x-fix-checksum-mods-error

Use object from factory instead of form state
setup travis and updated README file
commented out copy, paste detector
removed ant buildfile command
removed local copy of files
Merge pull request #113 from philsogaDGI/7.x

Setup Travis and Tests
Carry through changes of Islandora constants.
Setup local constants.
Carry through local constant changes.
Local element constants.
Carry though element constant changes.
Fix an error introduced during constant change.
Merge pull request #114 from adam-vessey/7.x-constants

Update constants.
Fix constants broken during rename.

Oops...
Merge pull request #115 from adam-vessey/7.x-fix-constant-renaming-error

Fix constants broken during rename.
Removed dead code.
Corrected indentation