Add Limits functionality. Changes to INSTALL and HACKING documents. (cherry picked from commit 0a0af1e9cded313ac4d5293d16cf834346287ccb)