Small refactor: add `raw_input` method to make testing custom inputs easier

Added a `raw_input` method to return the input
after it has been initialized, but before it's
converted to html. This means that developers who
have created custom inputs can get an instance
of their input after it has been properly
initialized and test its instance methods.