Lots of changes.

Fixed a bug where some notes were out of range. Also the abstract tone
grammar is now in ANTLR so python is not needed anymore. Also now
working on an grammar update option which does reward based learning
(readjusts the grammar).