Adding ComponentLock model, view and tests in its first pass
removed stray test stuff
changed username reference to actual User model
WEB-438 combined migrations 0002 and 0003
WEB-346: added two more lock tests
Merge branch 'RC1/master' into RC1/component-lock

Conflicts:
	mirrors/models.py
	mirrors/tests/test_views.py
	mirrors/urls.py
pep8
WEB-346: completed tests and fixtures for component locks
WEB-346: added a few more tests for models
merged RC1/master into RC1/component-lock
cleaned up some problems from merge
pep8
Merge branch 'RC1/master' into RC1/component-lock

Conflicts:
	docs/api_spec.rst
	mirrors/views.py
WEB-483 added broken field for component locks
WEB-483 tests for ComponentLock models completed
WEB-483 just some more random stuff
WEB-483 re-introduced specifying lock period
WEB-483 fixed bug where User pk is returned instead of username
WEB-483 updated spec to reflect current lock stuff
WEB-483 completed lock enforcement