adjust the archtecture

try to use Json as config file format instead of xml, use fastjson as
parser.
use solr to instead of lucene, so web and local can read the same index
from one source.