gpattern: Register as Boxed type and support introspection for it
GPatternSpec is currently poorly introspected and it's not possible to construct it, so:
- Implement
copy
function - Register it as a boxed type
- Move match functions to the right name space so that can be used as
GLib.ParamSpec
methods
Edited by Marco Trevisan