Merge pull request #548 from dimagi/validate-subcase-paths

fix longstanding typo causing subcase paths not to be validated for build
Merge pull request #543 from dimagi/fix-vellum-500s

fix document update conlflicts when opening multiple vellum pages after ...
removing public domain reference link.

very naive removal here, links and other stuff to handle the "public" domain handling still exists, but that'll be rolled differently thanthe current odd setup we have.
Merge pull request #536 from dimagi/random-cleanup

delete unused code
don't fetch Domain if you don't have to
Merge pull request #544 from kennknowles/verbose-install

Let install.sh output run free to avoid travis timeouts
Merge pull request #545 from kennknowles/xml-serialization

Xml serialization for API
Merge branch 'master' into nvd3
Merge branch 'master' into ctable
Merge pull request #555 from dimagi/member-of

don't fetch Domain if you don't have to
Merge pull request #546 from dimagi/friendly_logout

really quick and not the best place to put a more friendly login message...
cherry pick 9308cd32227e6eb2cd90d5f7e85bc7866d7867ee
fix ui changing in filter
update casexml
fix the way build files are made and downloaded

- if a file for a build does not exist 404 instead of trying to create
- create profile.ccpr *on build* not when it's first accessed!
- fix some content type / content length stuff
make validate_form only look up validate_cache once
don't hit db for custom suite unless it's being used (aka like never)
allow reports to include archived users; set submission history to use that
Custom serializer that emits raw CaseXML when ?format=xml is requested
Merge pull request #556 from dimagi/opt-validator

make validate_form only look up validate_cache once