converting from yaml->json in model.py
also changed type() checks into isinstance
converter script json -> yaml
options to make nicer print available?
some example models in yaml
install yaml model files instead of json
model_locator converted from json to yaml
modeldefs converted from json to yaml
resource.base converted from json to yaml
resource test converted from json to yaml
travis must install pyyaml as well
simpler way of getting rid of python/unicode in yaml files
see issue #34
added test model_locator to ctest/cdash
test model_locator now passes again
also fixed model_locator typo found by @coldfix
spelling mistake was introduced
tests should fail if FAILED found in output
(even if test return value is 0)
Readd method ResourceProvider.json()

The method was replaced in 8837c03 and is now readded for backward
compatibility.
Use yaml.safe_load()

The load() method can execute any python function, which might be a
security issue in some usage scenario. Since we intend to use only
builtin types anyway, we are better off using the safe_load() function
for now, c.f.:

http://pyyaml.org/wiki/PyYAMLDocumentation#LoadingYAML
Remove typechecks in cpymad.model.save_model

The python idiom of choice in most cases is duck typing.

Typechecks should mostly be used to differentiate between alternating
implementations for different use cases. And even then inheritance is
often the preferred mechanism.

I believe that this function made an instance method of the Model class
or better be removed from the module altogether:

- it is trivial
- this module shouldn't need to know about how models are stored on disk
Add PyYAML as a install dependency in setup.py

Currently, requirements.txt is only used for build-time dependencies
that must be resolved before executing setup.py because they are
imported.
Fix comment implementation detail in test_resource
Use yaml.safe_dump