Create an AttributeOptimizer base class for optimizers like CG

These use the IMP::kernel::Model::set_is_optimized(). The patch also includes other minor changes to clean up optimizers.

close #394
close #255
add extra description to doxygen deprecation markup

close #398