A general framework for circular local likelihood regression