Move completion functions to autoload

This allows them to be used with e.g. tplugin's lazy-loading mechanism,
and makes the plugin file itself a bit smaller.

Ref: https://github.com/tomtom/tplugin_vim/issues/14#issuecomment-63690884