Added __get() and __set() functions to libraries and models
Fixed a bug in $url->current_url()