Moved controller to top level

more clean, changed references in QtGui.py
Many commands now implemented

Now most commands are implemented.

Possible to change the regex, flags, match string, replace string.

Can parse flag int into character string and from character string to
flags. Embedded flags untested.

Updating anything causes the view to update as well. New method to pause
view updating is available so that everything will still work as
intended but not draw to the screen. Unpausing the view automatically
forces a view update