Fixed some errors
Merge pull request #160 from izaid/fix

Some fixes for Python, but some failing tests remain.
Updates to reflect libdynd arrfunc_proto change
Merge pull request #161 from mwiebe/arrfunc_proto

Updates to reflect libdynd arrfunc_proto change