uint: remove uint*() methods

Remove all usage of uint*() methods and replace them with endian.h
methods.
env: remove env_get()

Remove env_get() and tests and replace with getenv().
git: add /compile to top level .gitignore
error: remove error_str()