Merge pull request #229 from jhofman/master

neural nets fixed
test to exercise --nn without --quiet.  Other params are to get a good result.
Change data-set. Will this prove stable with --nn?
unlink temp stdout & stderr files before running the tests - for safety.
require perl 5.014 or later
This _may_ be the 32-bit random failure smoking gun (constant assigned into 'a' truncated from 64 to 32 bit in 32-bit envs)
Lowecase the hex constant to better distinguish it from the ULL suffix.
Merge pull request #230 from arielf/master

Add test to verify --nn without --quiet.  Other params are to get a good result
bug fix: in copy_audit_data, allocate memory depending on src, not dst
bug fix: properly initialize the non-POD members of the lda struct
When constructing the lda object, better avoid placement new and rather use just plain old new (pun intended).
Rationale: placement new should be used only when really necessary. (http://www.parashift.com/c++-faq/placement-new.html)
Drawback: if new POD members are added, they need to be manually zeroed here (or, preferably, in the lda struct's constructor).
Merge pull request #231 from reunanen/master

Minor bug fixes
fixed online print in cygwin bug
fixed memory leak
if we're doing LDA, let's print LDA results even if active learning is enabled
changed pointers to references
Fixed crashing in LDA's learn_batch function in case l.sorted_features is empty. (When a socket connection is dropped, l.sorted_features may end up being empty. In that case, l.sorted_features[0] does not exist and therefore its address cannot be taken. This is probably not the best place nor the best way to fix it, though - but given my limited understanding of VW, I felt this was the best I could do, for now at least.)
On Windows, sockets are not file descriptors. Therefore _read, _write, and _close should not be used for sockets. Replaced with recv, send, and closesocket.
1. Some band-aid for the situation when pointer > i.endloaded (which sometimes happened and definitely leads to invalid memory accesses)
2. #include <winsock2.h>
If doing LDA, don't set eta to 10 for "non default update rule".