Layouts can define their own resizing handler (FS#1267)

Rationale: `awful.mouse.resize` checks a hard-coded list of layouts. It's impossible for any third-party layout to easily support mouse resizing.

This patch attempts to provide a way for layouts to define their own mouse resizing function.