Split local and global scope constants

Made VEX_CONSTANT return a functor. This makes it suitable for
definition in local scope. Predefined constants are defined (with
VEX_GLOBAL_CONSTANT)as inline functions which makes them safe for
inclusion into several object modules.