Read response from tlsConn, not conn.

Fixes #10.

Thanks to @printerhkj for pointing this out.
Remove errant resp reassignment.

This was cruft from an old refactoring and obviously needs to go.
Set err properly on the way out if Apple indicates failure.

First, with a good token:

$ go run push.go
 Alert: {"aps":{"alert":"Test Message","badge":-1,"sound":"bingbong.aiff"}}
Success: true
 Error:
  Resp:

Now with a bad one:

$ go run push.go
 Alert: {"aps":{"alert":"Test Message","badge":-1,"sound":"bingbong.aiff"}}
Success: false
 Error: INVALID_TOKEN
  Resp: INVALID_TOKEN
Update various comments and variable names to make golint happy.

Previously there were around a few dozen items it complained about; this eliminates all of those issues.

$ GOPATH/bin/golint . | wc -l
       0
$ go test
PASS
ok      apns    0.013s
Add a legacy file and tests to avoid annoying breaking changes.

Lately a legitimate number of package managers for Go have cropped up, but this lib came into existence when the options were a little more sparse (i.e. "breaking public API change? Fork the repo!")

This supports #11 and keeps the identifiers around but outside of the normal code...for now. I'll probably wind up forking eventually, but we'll see if we can be creative in the meantime.

$ $GOPATH/bin/golint .
legacy.go:10:2: don't use ALL_CAPS in Go names; use CamelCase
legacy.go:11:2: don't use ALL_CAPS in Go names; use CamelCase
legacy.go:12:2: don't use ALL_CAPS in Go names; use CamelCase
legacy.go:13:2: don't use ALL_CAPS in Go names; use CamelCase
legacy.go:14:2: don't use ALL_CAPS in Go names; use CamelCase
legacy.go:15:2: don't use ALL_CAPS in Go names; use CamelCase

$ go test
PASS
ok      apns    0.013s
Check for Base64 key and cert in feedback

Feedback should check for the user supplied block data or load from disk just like the current connect method.
Add a documentation badge to README.md.
Merge pull request #12 from skylarsch/master

Check for Base64 key and cert in feedback
Update the de-linted code to include the fix from #12
Merge pull request #13 from anachronistic/legacy-interface

Legacy interface
Unexport some constants that probably don't need to be exported
Merge pull request #15 from draaglom/export_less

Unexport some constants that probably don't need to be exported
Remove certs folder.

This was a leftover from an old design and can be safely removed.
Merge pull request #16 from anachronistic/remove-certs-folder

Remove certs folder
merge upstream/master into master