return 'Invalid' instead of raising exception

in rare circumstances (when conversions greatly outnumber participants), a ValueError is raised when attempting to calculate a z-score. this makes the web interface unusable.

this code checks for invalid experiment data and returns 'Invalid' before attempting the final z-score calculation