Switch from | to ~ for type delims

Windows no like |
Switch to CommonJS from couchapp.py macros