HD testnet support (#27) + unify network names

Changes by @xnova from #27 included & tests fixed. On top of the changes I unified network names and put network specific values all in network.js. 

@kyledrake @abrkn Let me know if the refactoring is too much / too little