Add newick format

Ready for review

I still need to add `read` and `write` as well as deprecate `to_newick` and `from_newick`

@wasade I am particularly interested in any comments you might have.

fixes #627 
write doesn't support automatic file format detection