Switched from buffer names to buffer numbers.

Also made psearch work with any type of buffer(except open command line
buffer)
Merge pull request #8 from someboddy/use-buffer-numbers-instead-of-names

Switched from buffer names to buffer numbers.