Refactor ideas.js and remove idea and project comments uid from db schema.