Merge pull request #22 from ajstanley/1.x

Changed regex to allow periods in mimetypes
Update FedoraApiSerializer.php

Removed debugging (print_r()) line
Merge pull request #24 from acoburn/patch-1

Update FedoraApiSerializer.php
Added validate() method to FedoraAPI and corresponding serialization; added line in documentation for getDatastream() since if the validateChecksum flag is sent, an additional value will appear in Fedora's response.
When RELS-EXT or RELS-INT datastreams are created, they should have a MimeType set as application/rdf+xml and the formatURI set appropriately.
Merge pull request #25 from jonathangreen/1.x

1.x
Modified Datastream to respect APIA vs APIM where possible.
Updated datastream.php to fix a logic error in last commit.
Fixed the tests for datastream locking to make sure the datastream datastructure is initialized fully before we do the test.
Another update to fix regressions in the previous two commits.
Merge pull request #26 from jonathangreen/1.x

1.x
Merge branch '1.x' of git://github.com/ajstanley/tuque into 1.x
Merged and Modified Alans changes.
Merge pull request #27 from jonathangreen/1.x

1.x
Some reorganization to allow override of factories

The factories in Repository.php previously could only return
the classes that were hard coded into them, this was problematic
in islandora when we override repository.php and want the factories
to return some overriden classes. Fixed this by putting the classes
in variabled that subclasses can manipulate.
removed woot.php
Did some minor updates to cURL code.
Updated Tuque to allow get requests to go to files

This will allow us to make sure that requests do not go into
memory and blow up PHP when we are getting large files from
Fedora.
Added new arguement to getDatastreamDissemniation

We can now get a datastream dissemnation to a file, so it stays
entirely out of PHP memory.
Delete files created in testing

Some of the temp files in testing weren't being removed, now
they are.