init Camera Branch

Doing this the sensible way and having a separate branch to work on
this feature. Will merge back when it works!
getMediaOutputFile issues

Pretty much all the camera impl is done (layout, calling it etc) but I
am having a problem storing the images (ah, as always. Storage issues).

Going to restructure the recordingActivity directory creation stuff but
have worked for about 12 hours on this today so bedtime for now. To be
continued.
Completely redesigned the way the application gets the directory for storing the files.
This is now all pre-prepared then the 3 sections (audio, location, images) are just
storing their stuff into them. This should simplify the whole process of adding and
saving new datasources.
I added a lot more Logs, will improve testing.
Refactored the majority of the application to give a clearer flow.
Refactored the code to make it more readable
Added more comments
Basically improved it a lot.
New dir struct works but broke camera

Onto fixing camera again
It can save an image!!

Saves 1 image!! if you try to take another it cries.
Camera faces the right direction now

Small addition to surfaceCreated(). Next thing is to take multiple
images
Taking multiple images now successfully.
onResume for camera needs attention.
onShutter needs attention to alert the user an image has been taken.
Of course the layout is a mess but easily fixable later.
It now crashes as it enters upload_activity. Onwards and upwards
Still having problems with releasing the camera. Seems a lot of people
are having this issue. This StackOverflow page seems pretty common
giving a solution but my implementation does this but still breaks.
Will need to try later but time to go in for meeting.
Fixed httpUpload logic fallacy (go back and read docs!) and have
hopefully fixed the bug with releasing the camera. Actually forgot
to call the releaseCamera() method in stopRecording which ends the
recording and makes an intent to move to the upload screen. To be
tested but just making the commit for now.

Also modified the .gitignore to ignore some stuff that Tim Storer
suggested omitting (basically anything generated and not written
by ourselves.
further modification of .gitignore
Added dialog confirm for cancelling recording.
Refactored the code, reorganised it to be more logical.
Changed the way the application moves between activities.
The camera seems to be working and not messing up as it goes through to upload.
Had to tweak the way the camera is released extensively. That was a fair few hours.
Also added an onFailure to the AsyncResponseHandler in uploadActivity.

Will merge with master soon. Just need to work out a couple of kinks, check a
couple of things and then sort the layout into some workable fashion. Will most
likely leave the layout till later. A lot of effort for something not important
just now.
Small fix in regards to directories made