Assorted fixes

This is once again something that's been in my fork for too long, those are assorted fixes to issues I had with `django-assets`. Explanations if any are in the commit messages, I hope those can be merged as-is.