Merge pull request #65 from COSI236TA/wenbin

Wenbin
remove destroy_all in seed
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant
update_job.rb changed to better structure
Changes to portfolio, commit to make sure nothing breaks
Fixed adding seperate css,etc
Merge pull request #66 from COSI236TA/integrate

Integrate
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant
fix mistake
Email Notification basically done
---
1. If the rule is newly-triggered and the the rule has not been notified
for longer than 6 hours, it will send a notification email.
2. Email is not decently formatted. It only containts basic information.
3. Only the rules whose field "activated" is not false will be checked
by the RuleEngine.
4. The email sending is performed asynchrounously by Sucker Punch