The Wendelstein Calar Alto Pixellensing Project (WeCAPP): the M 31 variable star catalogue