File: add get_*_count methods; return array for get_*

- get_deps and get_reverse_deps return arrays now instead of hashes
- Added get_deps_count and get_reverse_deps_count
- Removed parenthesis from accesors of attributes, parenthesis should
  be for methods only
shared_lib_deps: clean up dumping of forward/reverse deps