Add get_main_network()

Pulls functionality across from is_main_network(), but allows actually
getting the network object back instead.
Merge pull request #5 from johnjamesjacoby/main-network-function

Add wp_get_main_network(), using code from is_main_network().