Refactor tasks to use --prod flag instead of seperate tasks for dev/dist. (resolves #22)