Fix #1396 : Allow objects inheriting from list or tuple

A SimpleListAdapter doesn't accept objects inheriting form list or
tuple, because it checks directly the type.

Here, in place of testing the type of the object, we use isinstance.

Also provide a testcase
core: extend `core_select_lib` to be used for other libs than just
`kivy.core`
uix:TextInput fix introduce `use_handles`, fix usage issues with
selection handles. closes #1628
uix:TextInput fix handles persistance on special keys
uix:TextInput Minor fixes for selection handles
uix:TextInput use a better selection handle for cursor
uix:TextInput fix for dissapearing handles on android
activate sphinx.ext.viewcode (http://sphinx-doc.org/ext/viewcode.html)
add styling for viewsource link
Merge pull request #1631 from kivy/core_select_lib

core: extend `core_select_lib` to be used for other libs than just
doc: revisions to geometry.py, fixing broken links

Signed-off-by: Zen-CODE <zenkey.zencode@gmail.com>
Merge branch 'master' of git://github.com/kivy/kivy
doc: revisions to interactive.py
doc: fix spelling in interactive.py
Remove unproffesional language.

This has been proposed before, but the pull request was closed because it contained unrelated changes. See https://github.com/kivy/kivy/pull/1642
Merge pull request #1645 from Ian-Foote/patch-1

Remove unprofessional language.
Merge pull request #1643 from kivy/doc-viewcode

Doc viewcode
uix:TextInput improve handle positioning, update text when selection is
adjusted using selection handles
doc: fixed link to Clock, broke into two parts
doc :revisions to lang.py (1)