Fix NPE when a shared element doesn't have a matching transitionName.

Bug 33053923

Also added an early error check when the same shared element is
used for multiple shared elements in the source or target fragment.

Test: gradlew connectedCheck in fragment/
Change-Id: If5dfbac66cfd9e60660439ce5c519547de3ef1d0
4 files changed