update .gitignore
delete old files
initial commit for new_api

Rewrite utilizing the new android API (API 18)
Fix moebooru date

accidently called getInt() instead of getLong().
Fix a bug while ticking hosts too fast

getLoader() throws IllegalStateException while the loader is being
created.
we now catch that.
SiteSession: make searchTags() unsynchronized

synchronize this function make SearchView stall.
since we do our own lockings with ReadWriteLock, this should be fine.
GelbooruAPI: allow ssome tag property to fail

sometimes the server fails to give us the correct XML (?).
if it did, just ignore that tag.
PostList: just restartLoader()

instead of cancelLoad() -> startLoading().

according to the documentation, when restartLoader(), the ond loader is
destroyed and a new one is initiated.
PostList: don't setQuery() during onMenuItemActionExpand()

NoClearSearchView does this for us, no need to set it here.
Database: flatten DanbooruGalleryDatabase

make DanbooruGalleryDatabase inherit SQLiteOpenHelper directly,
instead of using a private static inner class.
SDK: refactor onStartLoading()

refactor onStartLoading() to a more reasonable syntax.
PostList: just restartLoader() in onChanged()

don't cancelLoad() then startLoading() again, just restartLoader().
the LoaderManager should take care of that for us.
[1/3] Backup: introduce backup machenism

making backups :-)
[2/3] Backup: inform database after restored

inform the database that we've restored from a previous backup.
[3/3] PostList: make sure hosts exists

when restoring backup, hosts table gets invalidated and repopulated.
the old host lookup may fail to find the correct host, we have to make
sure
the host actually exists.
Exception: enhance error dialog

report the cause of the exception, so users may get a better
understanding about it.
SiteSession: don't fetch posts in init()

call fetchPosts() in PostListFragment.onCreate() instead of
SiteSession.init().
we don't have a activity yet during SiteSession().
SiteAPI: pass tags as String[] to fetchPosts()
[1/2] Tag: record search_count
[2/2] display tag search_count in SearchView