ME: refactored the calcluation of 'day' variable
ME: refactored 'expired' function and moved it outside the class
ME: refactored 'get_temp_token' function; generate new temp token if expired
ME|PLD: changed added tests for temporary token
Merge pull request #741 from onaio/refresh-temp-token

Refresh temp token