Merge pull request #43 from adam-vessey/1.x

Fix removal of RDF literals.
Fix flattenDocument() to return values.

As taken from GitHub, flattenDocument() returns a data structure where the values are blank.  See Islandora-Dev message https://groups.google.com/d/topic/islandora-dev/A_ajiI6stnA/discussion for details.
PHP 5.4+ issue

SimpleXML objects seem to be handled differently in 5.4+
Merge pull request #44 from mitchmac/1.x

PHP 5.4+ issue
added additional namespaces, removed invalid param
Merge branch '1.x' of github.com:Islandora/tuque into 1.x
sanitized inputs
Add check for writing temp files.

If $this->cookieFile = tempnam(sys_get_temp_dir(), 'curlcookie'); fails,
the problem isn't seen until saveCookiesToSession() when
$this->cookieFile is a boolean null instead of a file name.  This
adds a check to createCookieFile() to make sure the cookie file
in the temporary directory can be created.
Merge remote-tracking branch 'origin/1.x' into 1.x

Conflicts:
	FedoraApiSerializer.php
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
Added first try at travis-ci support.
Updated travis config.
Another try at getting travis working.
Updated travis.xml to fix fedora.
Updated travis config for the move to islandoras github repo
Merge pull request #48 from jonathangreen/1.x

1.x