added a locals object to View that can be used to have same locals on all views.
0.5.1