Add checks to prevent infinite loop

The processTab function looped infinitely when the trap container has only a single focussable element: you can see an example in http://julienw.github.com/jquery-trap-input/examples/simple.html, if you view the trap container in a DOM inspector and delete all but one anchor inside.