Make it easy to compile locally.
i) Fixed data parsing so that now it imports all add and sub chunks by fixing the following bugs
  - it only reads the first element previously
  - it reads the count byte as signed integer
ii) Fixed RFD response parsing so that it won't throw exception when there is no more update
iii) Fixed SafeBrowsing2.requestFullHashes to indeed ask for full hashes
i) To match a URL against a host key, we must try matching based upon the two most significant host components, and also the three most significant host components if three such components exist.
ii) Fixed sub_chunk filtering that empty-prefix sub_chunk should be handled.
check both 3 and 2 level host keys
make sList primary key for Updates table
override getMacKey method for MSSQL to cater for different LIMIT syntax
Removed todo message because optimization may not be necessary.
Optimized addFullHashes in MySQL.
Revert "Make it easy to compile locally."

This reverts commit 86b8879164d60d8c577657b00ac8f0ff7763d85b.
Revert "Revert "Make it easy to compile locally.""

This reverts commit d1d24ac9630b2ea386cee1a52e662d06834b9638.
Fixed the bug that I introduced. We should indeed send prefix to ask for full length hashes. If the chunk has empty prefix, the match host can be seen as bad.
Merge remote-tracking branch 'upstream/master'
Added some test cases in readme.
Added a test case to generate host keys for ip address.
Fix performance issue in URLUtils that may take seconds to canonicalize url.
Merge branch 'master' of git://github.com/snopoke/google-safebrowsing2
Fixed bad merge.
Fixed ip address canonicalization with tests.
Added one more test case (0x120x34) although I am not 100% sure about its expected result.
Merge pull request #2 from edwardchu/master

Speed up URLUtils for url canonicalization