Merge pull request #35 from maxme/category-fixes

Category bug fixes.
mSelectedCategories should be initialized.
Fixed issue where you couldn't successfully add a category that had escaped HTML in it. While I was at it, I removed the old EscapeUtils and Entities classes because we can use built in Android methods to accomplish the same task (Html.fromHtml and TextUtils.htmlEncode)
Remove old import of EscapeUtils to hopefully fix build.
If the instance state exists, pop the detail view. Fixes #436.
Post autosave was saving content and setting the changes flag, so if you tapped 'discard' you still had a saved post with the changes. Created an mOriginalPost variable to keep the original post content, which will be restored if the user taps 'discard'. Similar solutions for new posts, but they are deleted if discard is tapped. Fixes #25.
Don't unescape html that is already unescaped :) Fixes issue where image would be lost when saving a local draft.
Fixed broken image in post detail view.
Closing cursors in a few of the new category functions.
Translation updates.
Merge branch 'category-fixes' into unittests
Merge pull request #37 from maxme/category-fixes

fix #36: NPE - category have a parent with an invalid category id
Create a unittest sub-project.

Add a testcase for malformed category parent id (test #36).
Merge branch 'master' of https://github.com/wordpress-mobile/WordPress-Android into unittests
Merge pull request #38 from maxme/unittests

Create a unittest sub-project
Adding @aagam94's post excerpt patch with a few tweaks:

 * Modified existing post constructor instead of creating another one.
 * Used 'Excerpt' instead of 'Post excerpt' string to match up with core editor.
 * Tweaked the layout margins a bit.
 * Hid the excerpt field if the user is editing a Page.
Adds support for picasa images. Used @aagam94's patch with the following changes:

 * Downloaded image without doing a stream copy.
 * Change return types in some of the DownloadImageTask to be a bit more efficient.
 * Formatted code to Android standards.

Fixes #402. Props aagam94.
Version bump.
Refactored the addMedia() method to support sharing multiple picasa images to a new post.  Removed addMediaFromShareAction() since it was very similar to addMedia() already.
Fixed crash where bitmaps were being recycled too early. See: http://stackoverflow.com/questions/10743381/when-should-i-recycle-a-bitmap-using-lrucache