refactoring search and other tweaks.
adding regex for cite notes, formatting tweaks.
Merge pull request #1 from gnomishperson/search

Search