Launcher: Return item to folder when failing to drag it out

After animation, when add icons to screen, use the old icon list which
is created during animation.

When add icons after animation, refresh the icon list.

Change-Id: I2553ed41b80fac4cca21591a0e52c7e1b6af8f6e
CRs-Fixed: 494966
Cache widget previews in a DB

- Smoother All Apps scroll performance

Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
Fixing slow binding when returning to Launcher

Bug: 8978842
Bug: 8660324

Change-Id: Idfa37c05ed299faa465ea66de4b43d30da77ecbc

Conflicts:
	src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java
Fix crash when rotating all apps

Bug: 8134296
Change-Id: If03a66aae1beefc7e58b36c01f9f904cb586955d
Clean up database in WidgetPreviewLoader

Change-Id: I498317538441c973334362b58714d2f4392933db
Fix crash when switching between Apps/Widgets tabs

Bug: 8138894
Change-Id: I8a4e62fad36d9db1dd289b1c56b42fea083012ac
Fix crash when creating preview cache table

Change-Id: Ibb9f139ce2c2c9d7c06a60d2aebc00969475f4a2
Fix SQLite syntax error

Change-Id: I540146553a28d78772d11ed74f678fcb4efe0124
Fix rare NPE

Bug: 8191673
Change-Id: I72ce7e78807c011858238f96c02a9500f930fb01
Fix bug with some 1x1 widget previews

Bug: 8310045
Change-Id: I6d8492a3d57d89bb2a1c09cf9b8d91840cd57657
Fix SQLite crashes in Launcher

We were using multiple SQLiteOpenHelpers, which
causes problems; this change switches us to using
only one

Bug: 8346109

Change-Id: If7d4dff3d34edb38d9586d3b0f4e8e1747a71a75
Don't close widget preview cache db

Only one connection is ever held now, and that
will be closed when the app is killed

Change-Id: Ia22e829b901844830cb032f859157b24eb395d8e
Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)

Change-Id: I1f63e548caa4b00b7166db4a53307c80650d8907

Conflicts:
	src/com/cyanogenmod/trebuchet/Workspace.java
Persist list of shortcuts to install on home workspace

Bug: 8707110

Change-Id: I6740350040dceb0edaf4295d6a5af62a088a3055

Conflicts:
	src/com/cyanogenmod/trebuchet/InstallShortcutReceiver.java
Fix crash caused by double loading of widget previews

Bug: 8146408