implemented LockPolicy and refactoring to use it
more file lock hacks
modified study NexSON to html functions, but the controller is not using the new system
Merge branch 'master' into pgloadindws
finished the changes which should help keep the study/status pages from being a drain on web2py
Merge pull request #50 from OpenTreeOfLife/pgloadindws

Pgloadindws