Fix for wrong automake version in configure.ac

The 'serial-tests' option is valid only for automake version >=1.12.

https://bugzilla.gnome.org/show_bug.cgi?id=725427
Use the new names for fundamental GObject types

Much nicer to use the fake classes in GObject.