first steps of refactor
Started moving functionality from pree to the ReeController\expression

updated gitignore to handle sublime text
moved expression.py to controller.py

More functionality added to controller.py

The following is implemented:
* a single Controller
* built in embedded flag checker - returns set of flags
* removed unecessary calls to unicode
Updating for use with refactored controller

I also fixed error with compile_obj being accidentially deleted.

Reworking Process_embedded_flags to be much more clean and set it up to
be ready to use the controller.

Various changes to embedded flag function to be more readable

changes
* function now returns bool on if flags changed (this may be unecessary)
* function now uses the controller
* passes the set checked a bool instead of an int to clarify purpose
better
Moved find all spans to the controller
building functions from the process_regex function.
Goals are readability and to seperate regex functionality from display
functionality.
finished refactoring process regex

I need to once over it a little more but it looks about finished. Should
be ok though.
Cleaned up the group parser

I have cleaned up and finished refactoring the group parser.

The group parser was moved to the controller and returns group data,
finally removing all use of direct regex functions to the controller.
Also added an update callback so that the controller can tell the view
when it should update. This means we can force an update from more
circumstances in the controller and aren't relying on the view to watch
everything.

Deleted workspace.py
Final Refactor

I went back through the program a few more times and changed the
following.

* Updated variable names to be more descriptive. This lead to a couple
of cleaner pieces of code
* Moved some parameters so that their values are obtained in the
function giving a cleaner interface
* removed some redundant code

The compile step of the controller no longer throws errors. It will
maintian the last compiled regex until the current regex is valid for
compilation. This keeps it from throwing errors and instead outputs a
debug message.

Also fixed an error in processfind.
Updated compile error to only catch re.errors