Improve performance of column coloring:
1) cache the results of calling the formatter even if they are negative.
2) use compiled templates
Improve performance of rendering the book list when lots of column coloring rules are used

Merge branch 'master' of https://github.com/cbhaley/calibre