Don't generate a python api for View.ExpandByClass.

We have a manually written one already.
Combine open_file.go with file.go.
Refactor some tests.
Refactor the find tests.
Refactor and close views and windows in some more tests.
Close windows and views during tests.

Set them as scratch in most cases to avoid waiting for user input.
Something odd is going on with the file watching
during save commands that causes a panic, hence
the commented out view and window close calls.
Merge pull request #392 from snowiow/master

resolve #390, added close_view command and link to qml
Merge commands/close_view.go with commands/view.go.
Make sure we close the remaining views in the CloseView test.
Lock when setting scratch or overwrite status.

Fix #394.
Lock when reading View.IsScratch, too.
Add a lock to the log writer.
Pull Edit into its own file.
Pull the logger out into its own package.

Related to #282.
Fix formatting.
Add the "nop" command of each of the three types.

Close #33.
html: Implement Port Flag

The flag is initialized with the default value of 8080; may be changed by calling it with -port <number>.
fmt fix
Merge pull request #397 from mmstick/patch-1

html: Implement Port Flag