BUG: add module extensions to load_library search list

on mac, windows and linux (with >= py3.2) shared libraries and loadable
module have different extensions, so check both for all platforms.
Merge pull request #3476 from juliantaylor/ctypes-ext

BUG: add module extensions to load_library search list