DDF-655 - Fixed Empty Install Profile Issues

Added some q.fail() to the promise chains.  Js errors were getting eaten up by the q.promise.

Also added logic to profile template to show an empty profile list message.

UPDATE: adjusted the installer app to hide the install profile step if no profiles are present.
Any call to "console" needs to be wrapped in a check to ensure that console is not undefined. In Internet Explorer, the console field is undefined until the developer tools are opened.