Api improvements

* Fix problems with PostManager and 'mode' param
* Return pagination data when requesting post list