Update dummyfier.R

Cleaner version to handle ~. for a complete dummyfication of a table