Added API methods to get input/output and gradient errors input/output from ANNComponent. Deleted const clausule at input and error_input of ANNComponents, the const is forbidden here because const Token can't be IncRefd or DecRefd.