Fix hasOwnProperty for functions

Fixes #149
Add hasOwnProperty tests
Merge pull request #151 from tessel/km-hasOwnProperty

Fix hasOwnProperty and add tests
Bumps colony-compiler requirement to caching regexes.
Adds colony-profile. Enforces js_arr to always require a len argument.
Moves js_getter_index to C implementation.
Implements only one metatable for all arrays.
Implements Array::forEach in C.
Fixes to tcr-array to pass entire testsuite.
Fixes Array(1,2,3) == [1,2,3]
Starts script after one event loop.
Enables __dirname to resolve to full path on PC (POSIX)
Fixes String::slice for negative indexes. Closes #150
travisplexer: pr-147-osx travis ci test