Create fragments appropriately in main view.
The approach to creating fragments in the constructor of the AppListFragmentPagerAdapter
was incorrect. Fragments are a special kind of magic, so this commit uses the approach
documented at http://stackoverflow.com/a/15261142 to make sure that the correct
fragment instances are always retrieved.
Fixes #521 (closed).