Changed way that constants are detected.

Up until now constants had to be placed within a separate 'Constants'
folder in the UML model tree. Integers, Reals and Booleans can now be
placed anywhere and still be detected by the parser.