add -C, --config option
move find_active_repos to repo.h
create struct repovec_t, wrap repos+repocount in it
add an iterator macro for repovec_t
add a capacity member to repovec_t
trivial rename: find_active_repos -> load_repos_from_file
use c99 for loop initial declarations
run clang-format over sources, add fmt make target

Sorry to anyone tracking changes -- this isn't your day for merges. I'm
incapable of adhering to multiple style guides.
rename pkg->len, pkg->namelen

This also fixes a non-bug in format_search_result, but better to be
correct since it's essentially free.
bash-completion: fix typo in comment
satisfy TODO
use more memcmp in pacman config parsing