Improved validation in parseSignedRequest.

Several prior PRs referenced this.  I researched other open source implementations and this is common first line of defense.  Also added an isset check on the decoded signature.