Restructure code

Invoke everything on main thread and make mustache rendering a
NSOperation.
Improve layout and calc dynamic rows. Close #2
Add binary research to set the number of element for page
Minor bug Fix
Recalculate the number of items per page
Merge pull request #6 from as-cii/layout/dynamic-page-count

Layout/dynamic page count