Change SSL settings to TLSv1, to avoid SSLv3 POODLE vulnerability

Fixes #492
When indexing a view group, skip views with no map block registered yet

Fixes #438
Restore the "no map block registered" assertion when it makes sense

Minor amendment to bd377ff -- if the view that triggered the index
update has no map block set, we should fail instead of just skipping
it, because that genuinely is an error (otherwise we'd go on to query
it and just return missing or obsolete data.)
For #438
FMDB: Fixed locking calls to avoid a deadlock

Fixes #500 (I think)

Conflicts:
	vendor/MYUtilities
	vendor/fmdb
Unit tests: make certain databases are closed at end of each test

Leaving a db open between tests can cause problems if it's reopened by
another test and already has things like docs or validations in it.

Conflicts:
	Source/CBLReplicator_Tests.m
fixed "400 Invalid attachment" errors during replication when revpos=0