Group avatar fixes pr

• refactor to put a method resize with quality in a catagory used elsewhere in the code
•  -03 optimization only for release/ad hoc but not debug (to play well with debugger)
• resizes group avatars to max 100 pixels keeping aspect ratio.

addresses 1/2 of https://github.com/WhisperSystems/Signal-iOS/issues/249