Some code cleanup in servlet. DetectDuplicates fixed with new hbase table structure. Some dead codes removed.