* Fixing status page displaying homestead when running with --testnet switch * Putting cli parsing logic in single place. Adding tests