use ERB templates with profiles

I added the ability to use an ERB template instead of a mobileconfig file. Templates are much more powerful and allow you to use variables inside your profile. 
It's hacky, but i've been using this implementation for a while now.