Add support for string / single object as partial options

I added a change that allows these:

partial('something', 'this string will be available as something');

partial('something', { title: 'this will be something.title', desc: 'will be something.desc' } );