A bug in lxml causes it to lose the doctype (even though it's parsed correctly). We therefore have to add it manually.
Merge remote-tracking branch 'origin/master' into 588-incorrect-height-of-text-input-fields
Added Douglas Crockford's json2 to enable json in IE 7 and older.
Minor fix to entry page title so that it gets rendered correctly
Added a paragraph with some CSV recommendations (and a link to more information)
Added a jquery cookie script loader in old template layout
Merge pull request #602 from openspending/601-c-dataset-label

Minor fix to entry page title so that it gets rendered correctly
Merge pull request #589 from openspending/588-incorrect-height-of-text-input-fields

Doctype declaration added
Merge pull request #612 from openspending/521-show-csv-requirements

Show more information about recommended csv format
Merge pull request #608 from openspending/607-jquery-cookie-in-old-templates

Added a jquery cookie script loader in old template layout
Merge pull request #603 from openspending/525-ie7-json

Added Douglas Crockford's json2 to enable json in IE 7 and older.
Merge remote-tracking branch 'origin/master' into 554-provenance-badging
Created a configuration option for the upload directory and upload uri
The directory configuration can either be an absolute path or a relative one (relative to pylon's public directory)
The uri configuration is used to declare where an external web server serves the content from (note that this assumes it's being served under the same domain, hence a clarification in hypermedia.py)
Added alternative text to representative image on badge information page (since we allow badge create with no upload possibility)
Uploads can now be served from another domain (badge links check for it)
To conform with openspending conventions Badge name is now Badge label.
Note that for those who have tried out this feature, there are no migrations, update database manually!
Update dataset pages to use label instead of name when dealing with badges