[bt][lib] Remove common::Optional type

Removed the C++17 polyfill in lib/common/optional.h and converted
all uses to std::optional.

Bug: BT-248
Test: bt-host-unittests
Change-Id: Ia75dea59b2b498af7578148b18d9e951ad76992a
31 files changed