An Object SLAM Framework for Association, Mapping, and High-Level Tasks