This allows NimBLE options in menuconfig to reduce code size based on the roles selected (scan/advertising/central/peripheral). Significant code space can be saved by removing unnecessary roles for the application.
Client will now read/write long characteristics and descriptors.
Fix compilation in strict enviroments. Fix compliation in IDF v4.0.