Gideon/features soft decoding

Dear Matt,
I rebased to master and put Juri's changes behind master.
Then I rebased to put my changes concerning the implementation of the 
Fuzzy matching after that.
I made a new pullrequest because the old got lost - probably could not be fast forwarded anymore.

This pullrequests in principle incorporates all your suggestions I belief, except the separate testfolder with 
.sh test file for my JUnit tests. I don't know yet how to do this in the best way, also with respect to compilation 
via the ant build file etc which should then also perhaps be done. I think this can perhaps be done still at a later time.

I have not tested the Fuzzy-Matching with packed grammar representation yet, but in principle this should also work now and allow for fast fuzzy-matching with grammars with arbitrary numbers of nonterminal types. 
This was added in the last commit