Warning fix

@cpennington As per your message from hipchat. Status: 

* Automated tests pass in both xblock and xblock-sdk. 
* I'm not sure where the warnings mentioned are showing up, and therefore how to test that the issue is resolved.
* I would not merge without first verifying that it works as expected in the environment where we were swamped by warnings.