Don't attempt to parse folders. Closes #607
Be lenient towards Main / don't require ooc (also more logical). Closes #606
Closes #608
Merge pull request #609 from shamanas/master

Moved closure capturing from VariableAccess and FunctionCall to VariableDecl, removes a lot of duplicate code