added 'depth' option support

I added support to allow 'depth' as an option to the read-installed package. Added tests and updated readme as well.