Added license, added fallback to optparse

Refs #10015