Remove BCoreApplication::setMapping() method

Remove setMapping() and setMappingSender() methods from BCoreApplication and
BApplication. Add bSetMapping() and bSetMappingSender() template functions.