new-style cell selection

Cell selections look very old-hat with blue gradients. Update them,
Add navigation controller to show collections

User can now select from several different collections and select
one of interest. Also add "post comment" bar, though that feature
is not yet functional.
Always use variable-length cells
Add license terms
Add activity indicator

Activity indicator loads as a subview of a white
“curtain” view which is set to be orientation-
independent and which is hidden when animation is stopped.
Make “write comment” toolbar look more decent

In the MVP, this toolbar is sort of redundant in the
sense that it only brings user to another view if tapped
and its controls only serve as decorations.
Work out toolbar transitions

Animating toolbar with “post comment” message just
after the content has been loaded helps user understand
that he/she can post her own comment.

Additionally, add view controller that will handle comment
detail and post comment views.
Hide toolbar when appropriate

When pushing new comment or detail view controllers,
do not need to display toolbar as it only takes up space.
Restore hide-status-bar functionality

Also present “Write new comment” as modal,
instead of pushing it onto previous controllers via uinavigationcontroller
pop create comment view when focus in “Write Comment” field

When user taps on “Write a comment” field in the toolbar under
collection content, pop up a modal dialog for writing a comment.
Proper hiding of status bar on iOS6

Previously, navigation bar would not be positioned to
(x=0,y=0) when status bar would be hidden in some
view controllers.
Don’t use loadView when loading from storyboard

Per Apple docs, loadView should not be overridden when loading
from a nib or a storyboard. So we move setup of activity indicator
to viewDidLoad instead. Also improve formatting of some long
lines for better readability.
Only remove objects from NSCache instance on memory warnings

Do not set this instance to nil.
Remove some compiler warnings

Clean up some code to prevent minor compiler warning such
as `readonly' property attribute conflicting with `strong',
etc.
Remove unnecessary qualifier compiler warning

Also move lifecycle block higher up in the LFSCollectionViewController
file.
Fix a longstanding bug, some memory leaks

Fix a bug where on iOS6 collection table view would crash when
deallocated, due to obj_release being called on it after it has
been deallocated. We solve the issue by forcing the runtime to
retain a reference to the UITableView instance.

Additionally, fix some memory leaks under iOS7 by preventing custom
code for cell selection styling from being executed on that version
of OS, since the goal of the code is to imitate iOS7 to begin with.
Safari-like toolbar behavior

Hide bar when user scrolls down (with the intent to look at content downward)
and make it visible when the user scrolls up.

Also move some cell configuration code (that would make good defaults) into
LFSAttributedTextCell class.
Hide new content view when Cancel or Post chosen

Posting comments feature not yet functional, but
we are ready to merge to master with this commit.
Merge pull request #2 from Livefyre/dev

Dev