Playing around with tastypie.
API suggestion.
Initial work for prediction API.
Match prediction API works, might need some cleanup before continuing.
Prediction API now for match and dual, with working OO structure (hopefully).
Prediction API for sebracket.
Open/close actions on admin/event

This adds the following actions to the admin/event page

* Open; For a selected event e, this opens all events x where x > e or x = e
* Close; For a selected event e, this closes all events x where e > x or x = e

where a > b indicates that a is a parent or a grandparent of b.
Bugfix; Javascript in javascript

Fixes a bug where the text entered inside a javascript string
contained ' or ".
Improvements to dump.py

* Uses the following instead of os.system
	- subprocess.call
	- subprocess.Popen
	- shutil.copy
	- os.remove

* Uses os.path.join instead of string concatenation
* Compresses the backups and provides an alternative
  compressed version of aligulac.sql
Added gzip dump to db.html.
Added 2.0.12 to patches.
Merge pull request #108 from Prillan/add-bu-patch

Added 2.0.12 to patches.
Merge pull request #106 from Prillan/sql-optimizations

Improved some db queries.
Merge pull request #104 from Prillan/dump

Improvements to the dump.py script
Merge pull request #102 from Prillan/reopen-action

Open/close actions on admin/event
Merge pull request #103 from Prillan/js-string-bug

Bugfix; Javascript in javascript
Moved report recomputation.
GET for mini URLs to avoid CSRF fucking up cache everywhere.
Merge branch 'master' into api-dev

Conflicts:
	aligulac/ratings/admin.py
Prediction API for RR.