an example of the update to ast
Merge pull request #13 from pjritee/master

an example of the update to ast
upgrade to use ast
Merge pull request #14 from pjritee/master

upgrade to use ast
Merge branch 'master' of github.com:CSSE1001/MyPyTutor

# By Peter Robinson
# Via Peter Robinson
* 'master' of github.com:CSSE1001/MyPyTutor:
  upgrade to use ast
  an example of the update to ast
Added fun1.tut in the new directory format

Actual contents of this are still WIP, but it is at a stage where it will
load in MyPyTutor and display the preload file.
Updated to use the new directory format.
Switching over to new framework.

Added Tutorial class, which replaces the old parser and data dictionary.
Massively simplified the process of testing the student code, ie run_test
(this is not functional in the current commit).
Removed encryption, which is unnecessary under the new system.
Added WIP testing code.

This is by no means complete, but is committed to show the general
process.
Added .gitattributes file for crlf issues
Added StudentTestCase, which captures output data.

This deals with automatically replacing the streams and capturing the
data sent to stdout and stderr.

It's possible that we need to replace input() itself properly, or at
least consider how to handle EOF on stdin; this will be necessary when
students ask for more data than they should.
Removed output and error redirection.
Can now exec submodules with globals and locals
Gave TESTS_MODULE access to StudentTestCase
Tests will now run (but full implementation WIP)
Added CodeAnalyser and refactored analysis.

It is cleaner for the CodeAnalyser to get a reference to the CodeVisitor
upon creation, in order to limit the amount of variables that have to be
extracted from the compiled file.
Added explanation of the dangers with exec_module

This reflects problems encountered in using a reference to CodeVisitor
from a CodeAnalyser subclass.
Fixed up the PEP8 error suppression
Added newlines to expected results
Removed redundant stdout/stderr processor