add jqeury validate

Add jquery validate library.
When making no-title or no-contents enquete, alert and reject creating enquete.