Merge pull request #3 from forslund/master

Merge of Constants from forslund
Support for functions, sqrt, sin, cos, tan, abs, floor, round, ceil
Programming constants (e.g. max 32 bit integer)
Missing Function class from earlier commit
Small GUI fix for how current calculator mode is displayed