[css-typed-om] Make styleMap.get slightly faster.

This patch specializes the styleMap.get function to be fast in the
happy case of retrieving a non-list property. No change in behaviour.
Improves performance by 2-3%.

Fixed an issue involving background-image. background-image should
be a list valued property, but was not marked as such. It worked
before because .get treated list-valued and non-list valued the
same way. But now we have a special code path for non-list valued
that only works for non-list valued, so any list-valued properties
that are not marked as such will break.

Fixed another issue with align-items (see comment in code).

Bug: 808933
Change-Id: I91ebccda69c5f6ec380f1510fd5acf3b9feb6710
Reviewed-on: https://chromium-review.googlesource.com/899410
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535328}
6 files changed