refactored hmac.rb
use first & last instead array[index]
introduce private getter method for request message & request signature
introduce private method valid_tolerance?, refactor log method - dont set reduntant local variables
fix refactor bugs