Add explicit return values for firstNode() and lastNode() in node bindin...

...gs.

Fixes issue #46.

@caitp please comment.