Jnater/courseware tests

Refactored the contents of courseware/tests.py so that TestNavigation and TestViewAuthentication draw information from factory created courses instead of the XML modulestore. 
In courseware/access.py I changed the the way we check whether a student is in a beta test to account for the transition from gmtime() to datetime.now().
@wedaly