Little fixes found using clang on OSX10.9:
* bool to int as its incremented in PeerNetwork.cpp
* class to struct to match .cpp of UPnP in PeerNetwork.h
* Add missing return to string case in RLP.toBytesConstRef
Merge pull request #12 from danielhams/master

Little fixes found using clang on OSX10.9: