Merge pull request #60 from Henry-CF/bugfix

[47124483] tune-up the 'new candidate' page
[47351445] ensure children are deleted when deleting parent

define some 'has_many' association as composition.
also fix an 'Are you sure' prompt twice issue in development mode.

Signed-off-by: Henry Chen <hchen@vmware.com>