Add 'deps' and 'requirements' methods to abstract classes

Should resolve https://github.com/josegonzalez/homebrew-php/issues/768#issuecomment-34663910: `brew uses` (without `--installed`) expects `deps` and `requirements` methods.