No completion for flags.

There is no completion for any flags.

Rewrite functions that used non-porcelain commands to use porcelain
commands.

Remove dependency of sed in certain functions.
Update to my standards and add changelog