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 597-directory-neutral-templating
Add abspath call to the dirname in case the path happens to be in sys.path for some weird reason (if it's in sys.path __file__ will return a relative path instead of the absolute path).
Fixes #597 on github.