Merge pull request #61 from COSI236TA/wenbin

Wenbin
add link in portfolio and rule pages
move all ajax requests to ajax controller
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant
refine the routes
add rule edit page
edit rule basically done
remove trailing and leading white spaces in company name
stock page basically done; add link in create rule page to stock page