Add Parsley.js validation for trial creation.
closes #18