Extract repetitive CSS inline styles

Inline styles slow down rendering proportionally to containers number
Debounce/Throttling Searching event

New backend call to each keydown may hit the back-end performance.
500ms is reasonable delay to avoid too many requests while user is
typing a search query
Speed searching up a bit

Reuse ElasticSearch hits length via hits.total and cache it rahter than calculation length every iteration.
Graph: fixed value formating for tooltip, need original data. flotcharts copys the data, so changes to value formats func after plot call does not affect the plot.getData() series
Graph: legend and digest phase fix
Updated default max search results to 100, #909
Merge pull request #900 from mikhailov/patch-2

Speed search result parsing
Merge branch 'patch-1' of github.com:mikhailov/grafana into mikhailov-patch-1
Merge branch 'mikhailov-patch-1'
Merge branch 'inline_styles' of github.com:mikhailov/grafana into mikhailov-inline_styles
Graphite: added perSecond function to the func def list
Merge remote-tracking branch 'upstream/master'