added return value to pergeObject
Merge pull request #45 from lyrasis/1.x

Test for valid temporary file.
Fixed FoxmlDocument not respecting versioning

FoxmlDocument wasn't correcly setting the versioning
flag on datastreams. This was causing any object created
in Tuque using FoxmlDocument to have its datastreams set
to non-versionable.

The fix was a simple error serializing the output of a
boolean to XML. PHP was outputting 1 or 0 for true or
false, while the foxml was expecting true or false. Any
other value was interperated as false.
Merge branch '1.x' of github.com:Islandora/tuque into 1.x
Merge pull request #47 from jonathangreen/1.x

Fixed FoxmlDocument not respecting versioning