Added functions isEmpty() and peek() for queue objects

This pull request just adds two convenience functions that are pretty common for queues.

The functions are isEmpty() and peek(). Both take a callback that have callback params of (error, result)