really quick and not the best place to put a more friendly login message.

without having an explicit way to detect session expiration in our login/logout redirection, using next param as way of determining intent.

on an expired or nonexistent session, next= will show up on url redirect.
Let install.sh output run free to avoid travis timeouts
Default to JSON a different way that allows XML while being browser friendly
Add commented setting for how we might want to configure tastypie in the future
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 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...
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
Merge branch 'fix-download' into staging2