Refactor AuraHistoryService to be testable, add xUnit.js tests

@bug W-2134912@
@rev byao@
@rev goliver@later
@rev gtorres@
Merging origin/tbliss/master-pending-historyService-refactor-xunit-tests into master