Support non-persistent aliases

Basic implementation for #188
Add alias persistence and support escaped pipes in alias