used clang3.5, intermediately we've busted template args on arguments, only work on return
fixed emision of basic types
added testinput/test_tesstoutput.cpp that includes the former and the generated 'shim' code, make testoutput to check the generated externC shim compiles..
tried to add more handling of mut/const, but its not fully working :( the wrapper just assumes easiest coercion, mutable wrapper for c++, immutable wrapper for rust.