New DatabaseError exception class added
Handled the parsing exceptions

- Now it throws a DatabaseError if a parsing exception occurs (in
DB.java)
- Modified the interface descriptions adding @Throws DatabaseError where
needed
Merge branch 'master' of https://github.com/groupENIGMA/journalEgocentrique.git
[Mood.java]Now Mood logos appears
[ListActivity]Fixed a bug, now we can select a mood
Merge branch 'master' of https://github.com/groupENIGMA/journalEgocentrique
[GalleryActivity]Check for null path
[Photo.java]Implemented the creation of thumbnails

Now the gallery adapter loads the thumbnails(less cpu work).
DB.removePhoto also remove automatically the thumb associated to the
Photo.
The thumbnail is created automatically when it's created a new Photo.
[PhotoActivity]Fixed a bug.

Now when the user rotates the phone the temporary photo is not eliminated.
I used a temporary file in which I put the Bitmap. The temporary file is
eliminated before exit from the Activity.
[ShareActivity]Created the shareActivity.

The user can choose the note that will share. The photo is a composite of
the mood and the photo.
Implemented most part of methods of ShareActivity

Now it's possible to share using the application in the phone. The photo
need to be implemented, now it shares only the photo of the day and not
the custom photo.
[SharedActivity.java]Fixed a bug
[SharedActivity.java]Fixed a bug
Fixed a small bug in ListActivity.onPause()

It didn't check if there was a selectedEntry to save. On new install without
entries added it could crash the app.
Merge upstream changes in branch 'master' into new_ui