Fix integration tests which were breaking in non-clean builds

Resolves: https://www.pivotaltracker.com/story/show/69740244
Also suppressing weak-reference _ref nodes from output
Merge pull request #328 from futures/suppress-weakref

Also suppressing weak-reference _ref nodes from output

Resolves: https://www.pivotaltracker.com/story/show/70439742
Implement check of HttpRequest for membership in pre-configured roles

Resolves: https://www.pivotaltracker.com/story/show/69444656
Improve lock HTML rendering
- Add lock link to locked nodes' RDF

Resolves: https://www.pivotaltracker.com/story/show/69734316
remove excess debug logging from http-api
Merge pull request #330 from futures/remove-debug-logging

remove excess debug logging from http-api