Add support for function signatures with rvalue params

With this patch it is possible to call functions with signatures like `boost::function <int(std::string&&)>`