cleanup of map model code for rank search, moved to content
select nodes up/down when there are no siblings
merged with mapjs, up/down arrow keys now move to neighbour nodes when no siblings exist
jslint fix
horizontal selection threshold to avoid moving to nodes far away