Fixed some stuff that caused errors in code compilation under Mac OS.
Changes in macdockiconhandler.h and macdockiconhandler.mm base on the
respective files from the litecoin project.
Bug in net.cpp was fixed based on a solution provided in the dogecoin
project.
Merge pull request #6 from jotsetung/master

Fixed errors that caused compilation errors under OS X.