Function scopes appear to be working ish.
added a test case for function prototypes with no parameters
Merge branches 'master' and 'functionDecl'