Convert outgoing netCDF arrays to big-endian

Changeset 76a983ec625 removed the explicit conversion of all outgoing
datatypes into big-endian format (e.g. see page 10 of
http://earthdata.nasa.gov/sites/default/files/esdswg/spg/rfc/esds-rfc-011/ESDS-RFC-011v1.00.pdf)

This changeset converts the type to big-endian during the array
creation in createVariable by calling the dtype.newbyteorder
function with the argument "B" for Big endian.
Merge pull request #469 from pv/xlogy

ENH: special: add xlogy = x*log(y) with xlogy=0 for x=0
Merge branch 'master' of https://github.com/scipy/scipy into ticket1326_logpdf_fails_for_beta_and_gamma
Simplified code with calls to special.xlogy and special.xlog1py
beta._pdf now calls beta._logpdf
Added test for boolean ndarray input
Added code for boolean ndarray input
Added assert rasises tests for boolean indexes
Fixed bugs in Boolean indices
Added known failure decorators for boolean index tests in TestCSC and TestCSR
Added test to ensure that A[B>6] works for A sparse matrix and B matrix
fixed typo, added spaces to comparisons and renamed a function based on
Paul Virtanen comments
Merge pull request #474 from Daniel-B-Smith/master

ENH: sparse: Added boolean ndarray indexing for LIL matrix
DOC: update THANKS.txt
BUG: stats: make beta and betaprime pdfs work for a larger parameter range
Merge pull request #467 from pbrod/ticket1326_logpdf_fails_for_beta_and_gamma

BUG: stats: fix corner cases in beta, gamma, betaprime logpdfs
Fix for Ticket #1842 : wrong value returned by scipy.stats.binom probability mass function when true probability is 1
+ a test for it.
Merge pull request #461 from branch oth/upstream/pr/461

BUG: stats: fix distributions.binom pmf edge case
Merge pull request #468 from pbrod/Ticket1471_lognorm.pdf(0,s)_fails

BUG: stats: stats.lognorm.pdf(0,s) should give 0, not nan
TST: stats: rewrite fit tests as generator tests (so it's possible to see what fails)
BUG: stats: fix failing gilbrat.logcdf