Add a contextmanager to Timer

This allows for timing of arbitrary blocks of code:

    >>> with timer.time("foobar"):
    ...    thing_to_be_timed()
    ...    etc++
    ...