update: Added comments, improved heuristics

* Added comments to clarify the rationale behind the code
* Corrected output where necessary

Signed-off-by: mr.Shu <mr@shu.io>
update: Added function to generate ToSBack XML

* Added a function that automatically decides whether the contents of
  the provided URL contain a Privacy Policy or a Terms of Service. This
  function also further generates a 'rule' XML which can be then used in
  combination with tosback.

Signed-off-by: mr.Shu <mr@shu.io>