Added type aliases to outline (typedefs)

Fixes #2601 

![image](https://cloud.githubusercontent.com/assets/357955/3307501/5231f3bc-f66d-11e3-8965-2c2d78e08509.png)

Review @devoncarew @dinhviethoa