Added Bandit UCB1 implementation

********* PEOPLE *************
Primary reviewer: @sc932 

Reviewers: @suntzu86 

********* DESCRIPTION **************
Branch Name: norases_354_ucb1_bandit
Ticket(s)/Issue(s): #354 

********* TESTING DONE *************
make test
make style-test
Moved common test functions higher up.