Added rails controller and solr config.
Tell git to ignore data directory.