Fixed build for boost 1.55 with proper cast to shared_ptr and removed ugly macros.
Allows compatability with both libtorrent 1.0 and svn (1.1) rectified with construct syntax required in boost 1.55.
Merge pull request #29 from shinigamichan/master

 Allows compatability with both libtorrent 1.0 and svn (1.1) rectified with construct syntax required in boost 1.55