Added isLibrary for linux

Added function to check if file is a library file. It's only for linux now. I'm not sure should it return true if current architecture differs from architecture shared object was compiled for. For example should it return true for valid 64-bit libraries on 32-bit machine?