Add property selection for objects and onSelect function

* Added property option for using with objects.
* Added onSelect function (event) that returns the selected data (string or whole object).
* Updated Docs.

OBS: I havent minified it, if I should so, please let me know.