adding the ability to instantiate using base class & add example that pa...

...rses from json encoded questions file
What about something like::

    for clazz in (Text, Password, Confirm, List, Checkbox):
        if clazz.kind == kind:
            return clazz(*args, **kwargs)
    raise errors.UnknownQuestionTypeError()