Renamed all getConstant and getFunction methods for redability. 
Improved some constructors
Improved performance of CQIEImpl and FunctionalTermImpl by using
LinkedList instead of ArrayList
Improved performance of TermUtils.toString by using StringBuilder
instead of StringFormat