WIP search

added search function to pages
Use the new Ruby 1.9 hash syntax.<br>Line is too long. [101/80]