Fixed clutter in oscar_api, implemented pushing of ES Records

Got rid of a lot of clutter with the oscar api.  I no longer check for
the callback as I never invision myself w/o using it.  I've also
re-formated a lot of the code to look more 'beautiful'..mind you its
still fairly ugly and needs to be more DRY. I'm not sure though on how
to re-factor code as each page has a few nuances.

The ElasticSearch API can now push the data.  I'm pushing it as
ESHOST:ESPORT/YEAR/SEMESTER/courseID
courseID = department Number + course Number, for example ECE2031 or
MATH1502.

I also fixed on line 62/66 of api/elasticSearch_api.js, please read the
corresponding code comments for an explination to the change