Hook up BFGS to rest

********* PEOPLE *************
Primary reviewer: @sc932 

Reviewers: @suntzu86 

********* DESCRIPTION **************
Branch Name: denizokt_285_qei_rest
Ticket(s)/Issue(s): Closes #285 

********* TESTING DONE *************
ill wait to see what your update was as I don't fully understand the original comment lol