added initial utility library

Library basically consists of a bunch of utility objects and
methods. All skeleton+comments.

Also modified .gitignore to
ignore temp files with tilde suffix.