performance logger

config options:
````
config.log = {
    :methods => [:event, :search, :fetch, :view]
    :limit => 100,     # show only method calls that are slower than 100ms
    :details=> true   # show method arguments and sql  
}
````