Add initial implementation of top-level-variable-declaration-to-assignment pass

ref #99