jeffjiang: add cfgclient and customruleclient interfaces so that custom rule and other configurations may be retrieved from plugin mechanism and Zookeeper-like services
Merge remote-tracking branch 'upstream/master'
jeffzjiang: split QueryRules into three namespaces
jeffjiang: split current mixed QueryRules into three isolated ones
jeffzjiang: fix style issues
jeffzjiang: fix style issues
add synchronization to SqlQuery.GetQueryRules/SetQueryRules to avoid race condition
jeffjiang: split query rule informations from SchemaInfo into QueryRuleInfo structure
jeffjiang: split query rule informations from SchemaInfo into QueryRuleInfo structure
jeffjiang: fix code styles and add sanity check for QueryRuleInfo.SetRules
jeffjiang: fix customrule test such that it can detect failure to match custom rules
jeffjiang: add test for QueryRuleInfo, fix existing QueryRule test and add sanity check for QueryRuleInfo.GetRules
jeffjiang: modify test outputs to conform with code convention
Merge pull request #197 from guokeno0/master

jeffjiang: split current mixed QueryRules into three isolate QueryRules by the source of the rules