fix($state): populate default params in .transitionTo. closes #1396

wrap all default values as a function, treat them the same.