added alert placement in the layout page.
Temporary commit
Merge branch 'master' of https://github.com/se1-1314/xiast into Alerts
Cleaned up code using *session* dynamic var
Added alert features to base template