Move API endpoint methods from client to classes

Base object class that others (Site, Post, Me) extend to implement
endpoints as needed. All objects accept the Rest Client and use that for
any communication.