Add unit tests for generate_methods

This patch adds unit tests for midonet.neutron.common.util.

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