Refactoring, removing associaiton between category and post pagination for subcategory filter, fixing heroku downtime

After deployment, following rake task has to be run :
rake subcategory:populate