Made CBLRemoveFileIfExists more reliable

I was seeing warnings while deleting databases, about file-not-found
errors (which are normal.) This should keep those from being logged.
Be more careful using weak-reference ivars. Enable some warnings.
Make replicator progress logging less spammy
Added missing Apache license notices. Updated copyright statements.