configure.ac: don't add READLINE_LIBS to LIBS
minor refactoring: a few lines moved to FitMethodsContainer::get_method()
fixed assertion in CMPfit.cpp