Fixed remote autocompletion for non-"Page" properties

Specifically, the handling of spaces was fixed. Also, some variable names
were improved and/or standardized.

Change-Id: Ida9a969ba75b23f1bc0cb399e4b51a0e62ce1fac