Fix static property completion for user classes.

When comleting a line like: self:$some_ the plugin failed to return
static properties starting with "some_".
This patch also changes the ordering of returned completions. Now the whole
list is sorted by vim as a whole (and vim puts $ on top).
Added tests to test filtering.