Expression parser changes

1. Backported some useful changes to the expression parser that I made for [CCNoise] (/TomyLobo/CCNoise) (among them a fix for WORLDEDIT-2668)
2. Added block retrieval functions
3. Does any one want the waveform generators from CCNoise? :)