add getAccountFactory method to the restclient so you can create new accounts

there's not an easy way to create subaccounts right now.