Making Option class less intrusive

Added new free function from_string to be used by other class instead
of member function setValue.
Implemented from_string for Announce::Event
Improved BencodedString performances

Use ostringstream member instead of string -> less stringstream
constructions and string assigments
Database now stores and returns shared_ptr to User and Torrent