Added additional comments to the URL class

Added comments in order to clarify what exactly is happening with some of the more complicated aspects. 
namely the base_convert(rand()) call and the $rules variable.