Merge pull request #3 from stealthycoin/middletier_front_work

MERGED TO MASTER Added middletier put functionality
Cleaned up and separated out Django CSRF code