Compile error on function definition conflicting with import
Disallow using functions/consts defined in the same file

* Keep track of defined function and const filenames
* Prohibit use function foo if function foo exists
* Prohibit use const foo if const foo exists
Compile error on const definition conflicting with import