Function repository shared among all test calls
Function module refactored. Fixed the wrong usage of the HashMap, which order was important to the function resolve logic.
Removed unused code and added some missing unit tests.
Merge pull request #159 from lyncodev/fix-build

Fixed function repository