Merge pull request #4 from shrayas/master

Changing file operations to use `with` instead of `open` and `close`
Finished the flow of computing TFIDF from EntityId
Added with open to open a file
TFIDF primitive computation done
Pipline - Finds trends for a given location
Adding flask server
Removed write to db command
Added instance folder to ignore
Renamed server to app
Renamed server to app
Added twitter bootstrap 2.3.2
Adding the main html file for this single page app
Added the jquery file
Finished methods to get location and trends
Added send file method to render the html
Adding locations by reading it from DB

* Fill the left nav nav list with locations
* app.js is a customer js file that has methods to populate the same
* index.html has the necessarym html elements added to facilitate this
Added app route to handle locations
Modified the query to get trends in pipeline

* Fixed concatenation issues in the query variable in pipeline
* In app.py finished writing the route to get trends
Moved sql procedures folder , added a custom funct

* Added a custom function disintegrate_tweets , which gets all the
* tweets for a trend and fetches the required column from the tweets
* array and updates the organized_tweets table
* First custom function and it works, YAY!
Schema file for id_entity and organized_Tweets

* Schema and index for the 2 tables
* This can be directly imported on the main machine to create the tables