Ignore 'dist' dir using ack.
Updated .gitconfig with git 1.8 features, expanded short flags.
Added 'trim_newline' function, removed useless 'assert_exists'.