Since we usually just get the avatar and stream the content to the users there is no need to first create an image in memory.
* DI in avatar code * Use the node API * More unit tests * Unit tests no longer require DB