use constants from RFC3986

@nramirezuy noticed that "|" is not in RFC3986: https://github.com/scrapy/scrapy/issues/508#issuecomment-50087286. I've checked the RFC and updated code to use constants from this RFC:

* "|" is removed;
* "[" and "]" are added.