Move #quote methods into a Quoting module

Signed-off-by: Alex Coles <alex@alexbcoles.com>