use some query string filters for getting thoughts from the api on idea.html. Fixed some hardcoded urls to use django url template tags