Share common code in logic and api commands
Clean up glob code
Move app-file-related logic into from cf to app_files package
Go fmt
Add missing test suite files for app_files package
Fix import in zipper test
Move .cfignore logic into its own interface

This will make it possible to test this logic without
using the file system

[#67413512]
Add test for cf ignore