Support for specifying the ID of a new study

This is not tested yet.

This is needed to allow us to add studies from
phylografter through the api (rather than only
through the phylesystem repo).