Refactor to use Sparql.
Refactor to use the datastream date, instead of the object date.
Prevent an "undefined variable" warning.
Fix error in form export introduced in refactor to Sparql.
Merge pull request #47 from adam-vessey/7.x-datastream-dates

Use datastream dates instead of the object date.