Rename map() type.

Because Erlang/OTP 17 complains about it:

include/ns_common.hrl:25: Warning: type map is a new builtin type; its (re)definition is allowed only until the next release

Change-Id: If75c393a6df8c82517ad1066f152ef68bef61c93
Reviewed-on: http://review.couchbase.org/35582
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Disable deprecated type warnings.

Example of such a warning spewed by Erlang/OTP 17:

Warning: type queue/0 is deprecated and will be removed in OTP 18.0; use use queue:queue/0 or preferably queue:queue/1

And we can't just start using new types because this breaks
compilation on r14b04.

Change-Id: I119ada30aadb60f9f2d33ac395377003dc723d83
Reviewed-on: http://review.couchbase.org/35583
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>