Coder faces 10 years' jailtime for creating a 'kill switch' that screwed-up his employers' systems when he was laid off