Merge security and test infrastructure changes

I've made good progress with the authorization module for pytentd. I've also added the secure_client object to EntityTentdTests so that tests that must make HMAC authorized calls can use self.secure_client.<method> instead of self.client.<method>. I have been through and made the relevant changes to all the existing tests where this is necessary so see them for exemplar usage.