Adding or fixing support for std::shared_ptr<>.
Fixing support for Visual Studio 2013. Also, adding a work around for .scope[ def() ] functions that take zero arguments.