Add travis, coveralls and istanbul. Also added test to verify errors list doesn't get serialized on model