add testcase for functions in {key:...}
fix bug with functions in {key:...}
upgrade to 0.8 and 0.10 on travis
1.0.1