Update "Showing x-y of z posts" text based on paging

* Move listing info text into a partial template
* Update this html when we update pagination
* Compile pagination and post list info template when view is loaded,
  not when ever they're rendered.
* Add type='info' to paginate helper
Fix coding style issues in PostListView.js
Fix coding style on typecasting in Posts Api Controller