Query Component class improved

The `PHP_QUERY_RFC*` internal constants are defined if not already present.