This patch moves the new classes under ::Patron::Restriction:: and enhances the Unit tests for those classes. NOTE: We should drop keyed_on_code as part of bug 31095 Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>