fixing unicode for python2.7 and using exception for error

* fixing the check uf unicode (was failing for python2.7).
* raising new exception to properly tell the program that uses this module what was the problem.
now if there's a value error when converting values it will rise a new excpeiot and will have as a parameter, the value, the arff tipe and the list of values.