helper method for splitting time into seconds and microseconds

added some tests for it

This covers https://github.com/videlalvaro/php-amqplib/pull/80