Add the auto generator for the extensions

This patch adds the generator of the boilerplates for the extension
classes and madifies Tunnelzone class to use it.

Signed-off-by: Taku Fukushima <tfukushima@midokura.com>