Fixes #65 added missing comma for exceptions handling
Merge pull request #66 from ggtools/patch-1

FIX: Syntax error in generated FactoryMachine when method throws several exception
fix: Syntax error in generated FactoryMachine when method throws several exception (fixes #66)

add a test and actually fix the problem
security: review file based users format

don't use a map, use an array, this is less error prone cause it avoid repeating names in the key
factory: provide an easy to deactivate any component

Now you can easily deactivate a component by setting a String component named:
restx.activation::<component.fqcn>::<component.name>
core: add support for http basic auth

This makes simple requests much easier, they don't require to use a session / cookies.
Therefore using restx with curl or httpie is much easier than before.

It can be deactivated with:
-Drestx.activation::restx.security.HttpAuthenticationFilter::HttpAuthenticationFilter=false
samplest: fix failing test due to bad authentication
security: refactor: don't use custom factory for RestxSessionFilter

now that RestxFactory supports everything needed to use plain
annotation driven injection for RestxSessionFilter, get rid of
custom machine.
security: add RestxSessionBareFilter which allow to implement RestxSession based security with no cookies
security: refactor: rename RestxSessionFilter into RestxSessionCookieFilter

to clarify that this filter is used to build session from Cookies / update session in cookies.
core: give access to underlying native request and response objects
security: allow using servlet principal as restx principal
test: distinguish test mode from infinirest mode

It will allow to run tests in test mode, and have a different behavior both from prod / dev and infinirest regarding component loading
core: introduce cleanrequest factory load mode

This mode is the default in 'test' and 'infinirest' modes.
It is equivalent to what was done before the introduction of AutoStartable:
all components, including AutoStartable, are created and cleaned up at each request.

This allow customization of anything using threadlocal() factory machines during tests.
fix: bug with jackson views when used in hot compile mode
security: CredentialsChecker is now CredentialsStrategy

and provides encryption too, not just checking.
jongo: security: ease jongo based user repository implementation

restx-jongo now provides a basic UserRepository implementation, which makes
implementing UserManagement in a jongo based app easier.
shell: isolate credentials strategy from the rest in generated AppModule
specs: avoid using specific factories to improve perf

 context locals specific to these factories where not used anyway,
 reusing Factory.getInstance() avoid creating many factories and thus improve perfs
factory: improve perf of checkActive

factory querying has been slowed down a lot since the introduction of activation keys.
improve perf to get back to something close to what it was before this feature was introduced.