fix search
fix spec
optimisations (cut down on category queries, cut down on expensive current_user query)
fix cache hole
clear flags on reply to notify moderators
speed up startup (avoid loading some gems on startup)
correct group permission leaks
add Discourse.cache for richer caching support