Fixed camera capture by always using a temp file to store the output
Merged with latest master
Fixed code style
Fixed formatting
Merge pull request #149 from AlexKolpa/118-camera-uri-fix

Couldn't break it on my phone, so :shipit: (got a crash though, but it's a crash that is fixed in #144 )