Added before step hooks to the CaseMapper
Added mapper spec test for BeforeStep hooks