Adopt Tastypie's authentication and throttling

Makes actions use both throttling and authentication conform with the settings in the Resource Meta.

Thanks to @skyleronken for pointing this out.
Document the throttling option
Regex literals should be raw
Use BasicAuthentication in HomepageResource
Add test for login_required with basic auth
Add test for action throttling
Merge branch 'pipelining'