code improvement

- support custom hub list size
- refactor categoryId into typeId
- fix search module crash issue
Merge branch 'master' of https://github.com/ideanotion/ideapress
code improvement

- support custom hub list size
- refactor categoryId into typeId
- fix search module crash issue
Merge branch 'master' of https://github.com/ideanotion/ideapress