Add select_scope_up command

Also add new heuristics for scopes in unknown languages - use
indentation for that.