'Over the moon' as sale completes on planned Harrogate mosque