Moved some llvm-includes to IR sub-directory as it was found on the latest svn build
Fixed some implementations
Added the test_function.cpp test case