Merge pull request #208 from ljwolford/bugs

Bugs
fixed etag test
fixing etag and tests
Merge pull request #209 from creighton/master

fixing etag precondition check
fixing document updated value. i wasn't updating updated
Merge pull request #210 from creighton/master

fixing document updated value. i wasn't updating updated
changed complex get to just filter statements at the end of the function
Merge pull request #211 from creighton/master

changed complex get to just filter statements at the end of the function
small improvements
Merge pull request #212 from creighton/improve

small improvements
refactored retrieve_statement and req_process