Adding option classes to the generated heapbox

Ran in to a scenario where passing the option classes back helped out a ton. It's a nice to have feature until optgroups are eventually implemented.