refactor($parse): Clean up evaled function

refactor($parse): Clean up evaled function

Remove unused variables from the created function.
Use == null instead of (=== null || === undefined)
Don't wrap the evaled function in a closure when not unwrapping promises.
This change also brings a slight performance improvement: http://jsperf.com/optimizing-parse