Support local-only projects

I wanted to use cabal2nix to generate .nix expressions for my cabal projects, but I'd like to be able to also use cabal2nix for things that aren't hackage so that I can use nix to build 
my local projects. This patch adds a new flag "--local" which generates a .nix expression with the appropriate `src=./.` attribute and no sha hash.