fix for #102

Check for file changes in incremental and continuous compilation mode, and invoke zinc only when there's some updated files.

It's better to obtain list of re-compiled files from zinc, but it seems impossibles.
As a workaround, in this fix use the same logic to detect file changes as in non-incremental mode.