generic_utils: add memoize decorator, OrderedSet, find
.gitignore: ignore vim swap files
generic_utils: addressed reviewer comment (and add unit test)
Merge into master from pull request #34:
Small fixes (https://github.com/floodlight/loxigen/pull/34)