Add get_main_network()

Pulls functionality across from is_main_network(), but allows actually getting the network object back instead.

We could alternatively strip this down to `array_filter( get_networks(), 'is_main_network' )`, but this has O(N) performance over the number of networks you have.

Fixes #2.